
#ifndef _MEMBER_BPARTICAL_H_
#define _MEMBER_BPARTICAL_H_

#include <BOpenGL>
#include <BParticle>

#define particle_member(particle)		((member_BFlash*)((BParticle*)particle)->_ptr)

namespace BWE
{
	class member_BParticle
	{
	public:
		member_BParticle(BParticle* particle);
		~member_BParticle();

		BParticle*			boss;
		BSizef				size;
		int					particleDuration;
		int					emitterDuration;
		BHolder<BByteArray>	pixels;
		bool				dirty;
	};
}

#endif